package com.itheima.netcore;

/**
 * 网络访问的对象回调
 */
public interface HMObjectCallback<T>
{

    void onSuccess(T data);

    void onFailure(int errorCode,
                   String errorString);
}
